import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/views/Hello'
import CustomerManagement from '@/views/customerManagement'
import Tree from '@/views/tree.vue'
import Table from '@/views/table.vue'
import Select from '@/views/select.vue'
import Upload from '@/views/upload.vue'

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/customerManagement',
      name: 'CustomerManagement',
      component: CustomerManagement
    },{
      path: '/tree',
      name: 'Tree',
      component: Tree
    },
    {
      path: '/table',
      name: 'Table',
      component: Table
    },
    {
      path: '/select',
      name: 'Select',
      component: Select
    },
    {
      path: '/upload',
      name: 'Upload',
      component: Upload
    }
  ]
})
